package com.atguigu.newmvc.mapper;

import com.atguigu.newmvc.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmpMapper {
    Employee getEmpById(Integer id);

    void addEmp(Employee employee);

    void delEmp(Integer id);

    void updateEmp(Employee employee);

    List<Employee> getAllEmp();
}
